import axios from 'axios'
import { baseURL } from '../configFile'

const axiosReq = axios.create({
    baseURL
})

//获取关于我们
export const contactUsReq = () => {
    return axiosReq.get('/queryContactUs')
}

//修改关于我们
export const modifyContactUsReq = (contactWay: string, siteProfile: string) => {
    return axiosReq.post('/modifyContactUs', {'ContactUs': {contactWay, siteProfile} })
}